package com.boot.ch6;

import org.springframework.boot.context.properties.ConfigurationProperties;

import lombok.Data;

/**
 * @author onlyone
 */
@ConfigurationProperties(prefix = "person")
@Data
public class PersonConfig {

    private String name;

    private Long   age;

}
